<?php

	if ($_SESSION['Level'] == "HRD")
	{
		// Daftar user
		echo	"
				<form id=identitasForm method=post action=proses.php>
				<table border=1 cellpadding=3 width=520>						
				<tr>
				<td colspan=2 align='center' ><h3>Input User</h3></td>
				</tr>	
				<tr>
				<td>Nama Panggilan</td>
				<td><input type='text' size=32 name='NamaPanggilan' class='required'></td>
				</tr>	
				<tr>
				<td>Nama Lengkap</td>
				<td><input type='text' size=32 name='NamaLengkap' class='required'></td>
				</tr>						
				<tr>
				<td>NIP</td>
				<td><input type='text' size=32 name='NIP' class='required number'></td>
				</tr>						
				<tr>
				<td>Jabatan</td>
				<td><input type='text' size=32 name='Jabatan' class='required'></td>
				</tr>						
				<tr>
				<td>Unit Kerja</td>
				<td><input type='text' size=32 name='UnitKerja' class='required'></td>
				</tr>						
				<tr>
				<td>Tanggal Masuk Kerja</td>
				<td><input type='text' size=32 name='TglMasukKerja' class='required date datepicker' readonly></td>
				</tr>						
				<tr>
				<td>Tlc</td>
				<td><input type='text' size=32 name='Tlc' class='required' minlength='2'></td>
				</tr>						
				<tr>
				<td>Password</td>
				<td><input type='password' size=32 name='Password' class='required' minlength='2' id='Password'></td>
				</tr>
				<tr>
				<td>Ulangi Password</td>
				<td><input type='password' size=32 name='UlangiPassword' class='required ' equalTo='#Password'></td>
				</tr>
				<tr>
				<td>Level</td>
				<td><select name='Level' class='required'>
				<option value=''>-- Pilih Level --</option>
				<option value='Karyawan'>Karyawan</option>
				<option value='HRD'>HRD</option>
				<option value='Direktur'>Direktur</option>
				</select></td>
				</tr>						
				<tr>
				<td>Email</td>
				<td><input type='text' size=32 name='Email' class='required email'></td>
				</tr>
				<tr>
				<td>Alamat</td>
				<td><input type='text' size=32 name='Alamat' class='required'></td>
				</tr>
				<tr>
				<td>No Telepon</td>
				<td><input type='text' size=32 name='NoTelepon' class='required number'></td>
				</tr>
				<tr>
				<td colspan=2 align='center'><input type='submit' name='InputKaryawan' value='Kirim'></td>
				</tr>						
				</table>
				</form>
		";
	}
?>